package com.zzyl.nursing.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * TODO
 *
 * @Author mr.li
 * @Date 2025/7/25 10:06
 */
@Data
@ApiModel("树形结构Vo")
public class TreeVo {
    @ApiModelProperty(value = "楼层ID/房间ID/床位ID")
    private String value;
    @ApiModelProperty(value = "楼层号/房间号/床位号")//required 作用：是否必填
    private String label;
    @ApiModelProperty(value = "子节点")
    private List<TreeVo> children;
}
